@use 'sass:map';
@use '@angular/material' as mat;
@use '@gravitee/ui-particles-angular' as gio;

@use '../../../../scss/gio-layout' as gio-layout;

$typography: map.get(gio.$mat-theme, typography);

:host {
  @include gio-layout.gio-responsive-margin-container;
}

.container {
  @include mat.elevation(3);
}

.loader {
  background-color: mat.get-color-from-palette(gio.$mat-basic-palette, white);
  padding: 24px;
}

.runtime-logs {
  &__header {
    margin-bottom: 24px;

    &__subtitle {
      color: mat.get-color-from-palette(gio.$mat-space-palette, 'lighter40');
      @include mat.typography-level($typography, 'body-2');
    }
  }
}

.tab-body-wrapper {
  margin-top: 8px;

  .runtime-logs-card {
    text-align: center;

    mat-icon {
      border-radius: 30px;
      background: #009999;
      color: white;
      height: 60px;
      width: 60px;
      padding: inherit;
      margin-bottom: 10px;
    }

    &__body {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: center;

      &__subtitle {
        color: mat.get-color-from-palette(gio.$mat-space-palette, 'lighter40');
        @include mat.typography-level($typography, 'body-2');
        display: flex;
        justify-content: center;
        width: 60%;
        margin-bottom: 10px;
      }
    }

    &__actions {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: center;

      &__button {
        display: flex;
        justify-content: center;
      }
    }
  }
}
